package com.flower.hooc.bean.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "UserCourse类请求参数")
public class UserCourse {
    /**
     * 主键
     */
    @ApiModelProperty(value = "课程id")
    private Long id;
    @ApiModelProperty(value = "课程名称")
    private String name;
    @ApiModelProperty(value = "课程描述")
    private String des;
    @ApiModelProperty(value = "课程价格")
    private BigDecimal price;
    @ApiModelProperty(value = "课程分类")
    private String type;
    @ApiModelProperty(value = "课程目录")
    private String catalog;
    @ApiModelProperty(value = "课程图片")
    private String img;
    @ApiModelProperty(value = "视频id")
    private int videoId;
    @ApiModelProperty("对应用户id")
    private Long userId;

}
